{extend name="common@base/common" /}

{block name="style"}
<link href="__CSS__/main.min.css" rel="stylesheet" type="text/css"/>
{/block}

{block name="body"}
<div class="container">
  <ol class="breadcrumb">
      <li><a href="{:url('index/index')}">演示首页</a></li>
      <li>文章</li>
  </ol>
<section class="demo-section">
<div id="pageContent">

<article><p>文章视图用于展示带标题和其他额外信息的图文内容。</p></article>








<section><header><h3>结构</h3></header><article><p>文章视图使用 <code>.article</code> 类作为父级容器，并且使用以下特殊元素作为子容器：</p><div class="table-responsive"><table class="table">
  <tbody>
    <tr>
      <td style="width: 100px"><code>&lt;header&gt;</code></td>
      <td style="width: 80px">头部</td>
      <td>包含文章标题、文章信息和摘要</td>
    </tr>
    <tr>
      <td><code>.content</code></td>
      <td>正文</td>
      <td>可以在 <code>.article</code> 内堆叠多个正文部分。</td>
    </tr>
    <tr>
      <td><code>&lt;footer&gt;</code></td>
      <td>底部</td>
      <td>显示版权及文章的其他信息</td>
    </tr>
  </tbody>
</table></div><p>一般 HTML 结构为：</p><pre class="prettyprint prettyprinted" style=""><code class="lang-html"><span class="tag">&lt;article</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"article"</span><span class="tag">&gt;</span><span class="pln">
  </span><span class="com">&lt;!-- 文章头部 --&gt;</span><span class="pln">
  </span><span class="tag">&lt;header&gt;</span><span class="pln">
    </span><span class="tag">&lt;h1&gt;</span><span class="pln">文章标题</span><span class="tag">&lt;/h1&gt;</span><span class="pln">
    </span><span class="com">&lt;!-- 文章属性列表 --&gt;</span><span class="pln">
    </span><span class="tag">&lt;dl</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"dl-inline"</span><span class="tag">&gt;</span><span class="pln">
      </span><span class="tag">&lt;dt&gt;</span><span class="pln">属性</span><span class="tag">&lt;/dt&gt;</span><span class="pln">
      </span><span class="tag">&lt;dd&gt;</span><span class="pln">值</span><span class="tag">&lt;/dd&gt;</span><span class="pln">
      ...
    </span><span class="tag">&lt;/dl&gt;</span><span class="pln">
    </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"abstract"</span><span class="tag">&gt;</span><span class="pln">
      </span><span class="tag">&lt;p&gt;</span><span class="pln">摘要信息</span><span class="tag">&lt;/p&gt;</span><span class="pln">
    </span><span class="tag">&lt;/div&gt;</span><span class="pln">
  </span><span class="tag">&lt;/header&gt;</span><span class="pln">
  </span><span class="com">&lt;!-- 文章正文部分 --&gt;</span><span class="pln">
  </span><span class="tag">&lt;section</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"content"</span><span class="tag">&gt;</span><span class="pln">
    ...
  </span><span class="tag">&lt;/section&gt;</span><span class="pln">
  </span><span class="com">&lt;!-- 文章底部 --&gt;</span><span class="pln">
  </span><span class="tag">&lt;footer&gt;</span><span class="pln">
    </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"pager pager-justify"</span><span class="tag">&gt;</span><span class="pln">
      </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"previous"</span><span class="tag">&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"icon-arrow-left"</span><span class="tag">&gt;&lt;/i&gt;</span><span class="pln"> 上一篇</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span><span class="pln">
      </span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"icon-list-ul"</span><span class="tag">&gt;&lt;/i&gt;</span><span class="pln"> 目录</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span><span class="pln">
      </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"next disabled"</span><span class="tag">&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">没有下一篇 </span><span class="tag">&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"icon-arrow-right"</span><span class="tag">&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;</span><span class="pln">
    </span><span class="tag">&lt;/ul&gt;</span><span class="pln">
  </span><span class="tag">&lt;/footer&gt;</span><span class="pln">
</span><span class="tag">&lt;/article&gt;</span></code></pre><h4>受支持的正文标签</h4><p>在正文部分 <code>.content</code> 你可以包含以下类型的元素，不需要为这些元素添加额外的类就可以获得一致的外观和自适应性。</p><ul>
<li><code>&lt;h1&gt; ~ &lt;h6&gt;</code></li>
<li><code>&lt;p&gt;</code></li>
<li><code>&lt;ul&gt;</code>、<code>&lt;ol&gt;</code></li>
<li><code>&lt;dl&gt;</code></li>
<li><code>&lt;table&gt;</code></li>
<li><code>&lt;img&gt;</code></li>
<li><code>&lt;blockquote&gt;</code></li>
<li><code>&lt;pre&gt;</code></li>
</ul></article></section>





<section><header><h3>综合示例</h3></header><article><div class="example">
  <article class="article">
    <header contenteditable="true">
      <h1 class="text-center">HTML5</h1>
      <dl class="dl-inline">
        <dt>来源：</dt>
        <dd>维基百科</dd>
        <dt>最后修订：</dt>
        <dd>2016年8月12日 (星期五) 12:53</dd>
        <dt></dt>
        <dd class="pull-right"><span class="label label-success">HTML</span> <span class="label label-warning">网页设计</span> <span class="label label-info">W3C</span> <span class="label label-danger"><i class="icon-eye-open"></i> 235</span></dd>
      </dl>
      <section class="abstract">
        <p><strong>摘要：</strong>HTML5是HTML最新的修订版本，2014年10月由万维网联盟（W3C）完成标准制定。目标是替换1999年所制定的HTML 4.01和XHTML 1.0标准，以期能在互联网应用迅速发展的时候，使网络标准达到匹配当代的网络需求。广义论及HTML5时，实际指的是包括HTML、CSS和JavaScript在内的一套技术组合。</p>
      </section>
    </header>
    <section class="content" contenteditable="true">
      <p>HTML5是HTML最新的修订版本，2014年10月由<a href="https://zh.wikipedia.org/wiki/%E4%B8%87%E7%BB%B4%E7%BD%91%E8%81%94%E7%9B%9F" target="_blank">万维网联盟</a>（W3C）完成标准制定。目标是替换1999年所制定的HTML 4.01和XHTML 1.0标准，以期能在互联网应用迅速发展的时候，使网络标准达到匹配当代的网络需求。广义论及HTML5时，实际指的是包括HTML、CSS和JavaScript在内的一套技术组合。它希望能够减少网页浏览器对于需要插件的丰富性网络应用服务（Plug-in-Based Rich Internet Application，RIA），例如：AdobeFlash、Microsoft Silverlight与Oracle JavaFX的需求，并且提供更多能有效加强网络应用的标准集。</p>
      <blockquote>
        <p>具体来说，HTML5添加了许多新的语法特征，其中包括 <code>&lt;video&gt;</code>、<code>&lt;audio&gt;</code> 和 <code>&lt;canvas&gt;</code> 元素，同时集成了SVG内容。这些元素是为了更容易的在网页中添加和处理多媒体和图片内容而添加的。其它新的元素如 <code>&lt;section&gt;</code>、<code>&lt;article&gt;</code>、<code>&lt;header&gt;</code> 和 <code>&lt;nav&gt;</code> 则是为了丰富文档的数据内容。新的属性的添加也是为了同样的目的。同时也有一些属性和元素被移除掉了。一些元素，像 <code>&lt;a&gt;</code>、<code>&lt;cite&gt;</code> 和 <code>&lt;menu&gt;</code> 被修改，重新定义或标准化了。同时APIs和DOM已经成为HTML5中的基础部分了。HTML5还定义了处理非法文档的具体细节，使得所有浏览器和客户端程序能够一致地处理语法错误。</p>
      </blockquote>
      <h2>发展历史</h2>
      <p>HTML 5草案的前身名为Web Applications 1.0，是在2004年由WHATWG提出。2008年1月22日，第一份正式草案发布。WHATWG表示该规范是目前仍在进行的工作，仍须多年的努力。[8]目前Mozilla Firefox、Google Chrome、Opera、Safari（版本4以上）、Internet Explorer（版本9以上）已支持HTML5技术。</p>
      <p>2014年10月28日，W3C正式发布HTML5.0推荐标准。</p>
      <img src="docs/img/slide1.jpg" alt="">
      <h3>标准化进程</h3>
      <p>2004年6月，Mozilla基金会和Opera软件公司在万维网联盟（W3C）所主办的研讨会上提出了一份联合建议书，这份提案主要针对该技术能向下兼容浏览器的同时，也可以扩展更多新技术[17]，其中Web Forms 2.0初步规范草案被提出，但因W3C已着力于XHTML的发展，故此建议书于8票赞成，14票反对下被否决[18]，这引起部分人的不满，不久后，一些厂商宣布成立网页超文本技术工作小组（WHATWG）组织，以继续推动该规范的开发工作，该组织再度提出Web Applications 1.0规范草案，后来这两种规范逐渐合并成今天的HTML5。2007年，获得W3C接纳，并成立了新的HTML工作团队。</p>
      <h3>2014计划</h3>
      <p>2012年9月，W3C提出计划要在2014年底前发布一个HTML5推荐标准，并在2016年底前发布HTML5.1推荐标准。</p>
      <h4>核心HTML标准</h4>
      <p>HTML5.0，HTML5.1和HTML5.2的合并时间表：</p>
      <table>
        <thead>
          <tr>
            <th></th>
            <th>2012</th>
            <th>2013</th>
            <th>2014</th>
            <th>2015</th>
            <th>2016</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>HTML 5.0</td>
            <td>候选版</td>
            <td>征求评价</td>
            <td>推荐标准</td>
            <td></td>
            <td></td>
          </tr>
          <tr>
            <td>HTML 5.1</td>
            <td>第一工作草案</td>
            <td></td>
            <td>最后召集</td>
            <td>候选版</td>
            <td>推荐标准</td>
          </tr>
          <tr>
            <td>HTML 5.2</td>
            <td></td>
            <td></td>
            <td></td>
            <td>第一工作草案</td>
            <td></td>
          </tr>
        </tbody>
      </table>
      <h2>新应用程序接口（API）</h2>
      <p>除了原先的DOM接口，HTML5增加了更多样化的应用程序接口（API）：</p>
      <ul>
        <li>
          即时二维绘图
          <ul>
            <li>Canvas API：有关动态产出与渲染图形、图表、图像和动画的API</li>
          </ul>
        </li>
        <li>定时媒体播放</li>
        <li>离线存储数据库（离线网络应用程序）</li>
        <li>编辑</li>
        <li>拖放</li>
      </ul>
    </section>
    <footer contenteditable="true">
      <p class="pull-right text-muted">本文在知识共享 署名-相同方式共享 3.0协议之条款下提供。</p>
      <p class="text-important">本文节选自 Wikipedia HTML5 词条。</p>
      <ul class="pager pager-justify">
        <li class="previous"><a target="_blank" href="https://zh.wikipedia.org/wiki/Category:HTML"><i class="icon-arrow-left"></i> HTML</a></li>
        <li class="next disabled"><a target="_blank" href="https://zh.wikipedia.org/wiki/Category:W3C%E6%A0%87%E5%87%86">W3C 标准 <i class="icon-arrow-right"></i></a></li>
      </ul>
    </footer>
  </article>
</div><pre class="pre-scrollable linenums prettyprint prettyprinted" style=""><ol class="linenums"><li class="L0"><code class="lang-html"><span class="tag">&lt;article</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"article"</span><span class="tag">&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;header&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h1</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"text-center"</span><span class="tag">&gt;</span><span class="pln">HTML5</span><span class="tag">&lt;/h1&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;dl</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"dl-inline"</span><span class="tag">&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dt&gt;</span><span class="pln">来源：</span><span class="tag">&lt;/dt&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dd&gt;</span><span class="pln">维基百科</span><span class="tag">&lt;/dd&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dt&gt;</span><span class="pln">最后修订：</span><span class="tag">&lt;/dt&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dd&gt;</span><span class="pln">2016年8月12日 (星期五) 12:53</span><span class="tag">&lt;/dd&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dt&gt;&lt;/dt&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dd</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"pull-right"</span><span class="tag">&gt;&lt;span</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"label label-success"</span><span class="tag">&gt;</span><span class="pln">HTML</span><span class="tag">&lt;/span&gt;</span><span class="pln"> </span><span class="tag">&lt;span</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"label label-warning"</span><span class="tag">&gt;</span><span class="pln">网页设计</span><span class="tag">&lt;/span&gt;</span><span class="pln"> </span><span class="tag">&lt;span</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"label label-info"</span><span class="tag">&gt;</span><span class="pln">W3C</span><span class="tag">&lt;/span&gt;</span><span class="pln"> </span><span class="tag">&lt;span</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"label label-danger"</span><span class="tag">&gt;&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"icon-eye-open"</span><span class="tag">&gt;&lt;/i&gt;</span><span class="pln"> 235</span><span class="tag">&lt;/span&gt;&lt;/dd&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/dl&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;section</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"abstract"</span><span class="tag">&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;p&gt;&lt;strong&gt;</span><span class="pln">摘要：</span><span class="tag">&lt;/strong&gt;</span><span class="pln">HTML5是HTML最新的修订版本，2014年10月由万维网联盟（W3C）完成标准制定。目标是替换1999年所制定的HTML 4.01和XHTML 1.0标准，以期能在互联网应用迅速发展的时候，使网络标准达到匹配当代的网络需求。广义论及HTML5时，实际指的是包括HTML、CSS和JavaScript在内的一套技术组合。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/section&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;/header&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;section</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"content"</span><span class="tag">&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">HTML5是HTML最新的修订版本，2014年10月由</span><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"https://zh.wikipedia.org/wiki/%E4%B8%87%E7%BB%B4%E7%BD%91%E8%81%94%E7%9B%9F"</span><span class="pln"> </span><span class="atn">target</span><span class="pun">=</span><span class="atv">"_blank"</span><span class="tag">&gt;</span><span class="pln">万维网联盟</span><span class="tag">&lt;/a&gt;</span><span class="pln">（W3C）完成标准制定。目标是替换1999年所制定的HTML 4.01和XHTML 1.0标准，以期能在互联网应用迅速发展的时候，使网络标准达到匹配当代的网络需求。广义论及HTML5时，实际指的是包括HTML、CSS和JavaScript在内的一套技术组合。它希望能够减少网页浏览器对于需要插件的丰富性网络应用服务（Plug-in-Based Rich Internet Application，RIA），例如：AdobeFlash、Microsoft Silverlight与Oracle JavaFX的需求，并且提供更多能有效加强网络应用的标准集。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;blockquote&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;p&gt;</span><span class="pln">具体来说，HTML5添加了许多新的语法特征，其中包括 `</span><span class="tag">&lt;video&gt;</span><span class="pln">`、`</span><span class="tag">&lt;audio&gt;</span><span class="pln">` 和 `</span><span class="tag">&lt;canvas&gt;</span><span class="pln">` 元素，同时集成了SVG内容。这些元素是为了更容易的在网页中添加和处理多媒体和图片内容而添加的。其它新的元素如 `</span><span class="tag">&lt;section&gt;</span><span class="pln">`、`</span><span class="tag">&lt;article&gt;</span><span class="pln">`、`</span><span class="tag">&lt;header&gt;</span><span class="pln">` 和 `</span><span class="tag">&lt;nav&gt;</span><span class="pln">` 则是为了丰富文档的数据内容。新的属性的添加也是为了同样的目的。同时也有一些属性和元素被移除掉了。一些元素，像 `</span><span class="tag">&lt;a&gt;</span><span class="pln">`、`</span><span class="tag">&lt;cite&gt;</span><span class="pln">` 和 `</span><span class="tag">&lt;menu&gt;</span><span class="pln">` 被修改，重新定义或标准化了。同时APIs和DOM已经成为HTML5中的基础部分了。HTML5还定义了处理非法文档的具体细节，使得所有浏览器和客户端程序能够一致地处理语法错误。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/blockquote&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h2&gt;</span><span class="pln">发展历史</span><span class="tag">&lt;/h2&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">HTML 5草案的前身名为Web Applications 1.0，是在2004年由WHATWG提出。2008年1月22日，第一份正式草案发布。WHATWG表示该规范是目前仍在进行的工作，仍须多年的努力。[8]目前Mozilla Firefox、Google Chrome、Opera、Safari（版本4以上）、Internet Explorer（版本9以上）已支持HTML5技术。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">2014年10月28日，W3C正式发布HTML5.0推荐标准。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;img</span><span class="pln"> </span><span class="atn">src</span><span class="pun">=</span><span class="atv">"docs/img/slide1.jpg"</span><span class="pln"> </span><span class="atn">alt</span><span class="pun">=</span><span class="atv">""</span><span class="tag">&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h3&gt;</span><span class="pln">标准化进程</span><span class="tag">&lt;/h3&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">2004年6月，Mozilla基金会和Opera软件公司在万维网联盟（W3C）所主办的研讨会上提出了一份联合建议书，这份提案主要针对该技术能向下兼容浏览器的同时，也可以扩展更多新技术[17]，其中Web Forms 2.0初步规范草案被提出，但因W3C已着力于XHTML的发展，故此建议书于8票赞成，14票反对下被否决[18]，这引起部分人的不满，不久后，一些厂商宣布成立网页超文本技术工作小组（WHATWG）组织，以继续推动该规范的开发工作，该组织再度提出Web Applications 1.0规范草案，后来这两种规范逐渐合并成今天的HTML5。2007年，获得W3C接纳，并成立了新的HTML工作团队。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h3&gt;</span><span class="pln">2014计划</span><span class="tag">&lt;/h3&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">2012年9月，W3C提出计划要在2014年底前发布一个HTML5推荐标准，并在2016年底前发布HTML5.1推荐标准。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h4&gt;</span><span class="pln">核心HTML标准</span><span class="tag">&lt;/h4&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">HTML5.0，HTML5.1和HTML5.2的合并时间表：</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;table&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;thead&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;tr&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;&lt;/th&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2012</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2013</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2014</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2015</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2016</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/tr&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;/thead&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;tbody&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;tr&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">HTML 5.0</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">候选版</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">征求评价</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">推荐标准</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/tr&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;tr&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">HTML 5.1</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">第一工作草案</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">最后召集</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">候选版</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">推荐标准</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/tr&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;tr&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">HTML 5.2</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">第一工作草案</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/tr&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;/tbody&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/table&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h2&gt;</span><span class="pln">新应用程序接口（API）</span><span class="tag">&lt;/h2&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">除了原先的DOM接口，HTML5增加了更多样化的应用程序接口（API）：</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;ul&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">        即时二维绘图</span></code></li><li class="L3"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;ul&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;li&gt;</span><span class="pln">Canvas API：有关动态产出与渲染图形、图表、图像和动画的API</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/ul&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;/li&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span><span class="pln">定时媒体播放</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span><span class="pln">离线存储数据库（离线网络应用程序）</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span><span class="pln">编辑</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span><span class="pln">拖放</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/ul&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;/section&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;footer&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"pull-right text-muted"</span><span class="tag">&gt;</span><span class="pln">本文在知识共享 署名-相同方式共享 3.0协议之条款下提供。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"text-important"</span><span class="tag">&gt;</span><span class="pln">本文节选自 Wikipedia HTML5 词条。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"pager pager-justify"</span><span class="tag">&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"previous"</span><span class="tag">&gt;&lt;a</span><span class="pln"> </span><span class="atn">target</span><span class="pun">=</span><span class="atv">"_blank"</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"https://zh.wikipedia.org/wiki/Category:HTML"</span><span class="tag">&gt;&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"icon-arrow-left"</span><span class="tag">&gt;&lt;/i&gt;</span><span class="pln"> HTML</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"next disabled"</span><span class="tag">&gt;&lt;a</span><span class="pln"> </span><span class="atn">target</span><span class="pun">=</span><span class="atv">"_blank"</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"https://zh.wikipedia.org/wiki/Category:W3C%E6%A0%87%E5%87%86"</span><span class="tag">&gt;</span><span class="pln">W3C 标准 </span><span class="tag">&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"icon-arrow-right"</span><span class="tag">&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/ul&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;/footer&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="tag">&lt;/article&gt;</span></code></li></ol></pre></article></section>






<section><header><h3>更紧凑的文章视图</h3></header><article><p>通过为 <code>.article</code> 添加 <code>article-condensed</code> 类来获得更加紧凑的文章视图，适合放置在没有内边距的容器内。</p><div class="no-padding example">
  <article class="article article-condensed">
    <header contenteditable="true">
      <dl class="dl-inline pull-right">
        <dt>来源：</dt>
        <dd>维基百科</dd>
        <dt>最后修订：</dt>
        <dd>2016年8月12日 (星期五) 12:53</dd>
        <dt></dt>
        <dd class="pull-right"><span class="label label-success">HTML</span> <span class="label label-warning">网页设计</span> <span class="label label-info">W3C</span> <span class="label label-danger"><i class="icon-eye-open"></i> 235</span></dd>
      </dl>
      <h1>HTML5</h1>
      <section class="abstract">
        <p><strong>摘要：</strong>HTML5是HTML最新的修订版本，2014年10月由万维网联盟（W3C）完成标准制定。目标是替换1999年所制定的HTML 4.01和XHTML 1.0标准，以期能在互联网应用迅速发展的时候，使网络标准达到匹配当代的网络需求。广义论及HTML5时，实际指的是包括HTML、CSS和JavaScript在内的一套技术组合。</p>
      </section>
    </header>
    <section class="content" contenteditable="true">
      <p>HTML5是HTML最新的修订版本，2014年10月由<a href="https://zh.wikipedia.org/wiki/%E4%B8%87%E7%BB%B4%E7%BD%91%E8%81%94%E7%9B%9F" target="_blank">万维网联盟</a>（W3C）完成标准制定。目标是替换1999年所制定的HTML 4.01和XHTML 1.0标准，以期能在互联网应用迅速发展的时候，使网络标准达到匹配当代的网络需求。广义论及HTML5时，实际指的是包括HTML、CSS和JavaScript在内的一套技术组合。它希望能够减少网页浏览器对于需要插件的丰富性网络应用服务（Plug-in-Based Rich Internet Application，RIA），例如：AdobeFlash、Microsoft Silverlight与Oracle JavaFX的需求，并且提供更多能有效加强网络应用的标准集。</p>
      <blockquote>
        <p>具体来说，HTML5添加了许多新的语法特征，其中包括 <code>&lt;video&gt;</code>、<code>&lt;audio&gt;</code> 和 <code>&lt;canvas&gt;</code> 元素，同时集成了SVG内容。这些元素是为了更容易的在网页中添加和处理多媒体和图片内容而添加的。其它新的元素如 <code>&lt;section&gt;</code>、<code>&lt;article&gt;</code>、<code>&lt;header&gt;</code> 和 <code>&lt;nav&gt;</code> 则是为了丰富文档的数据内容。新的属性的添加也是为了同样的目的。同时也有一些属性和元素被移除掉了。一些元素，像 <code>&lt;a&gt;</code>、<code>&lt;cite&gt;</code> 和 <code>&lt;menu&gt;</code> 被修改，重新定义或标准化了。同时APIs和DOM已经成为HTML5中的基础部分了。HTML5还定义了处理非法文档的具体细节，使得所有浏览器和客户端程序能够一致地处理语法错误。</p>
      </blockquote>
      <h2>发展历史</h2>
      <p>HTML 5草案的前身名为Web Applications 1.0，是在2004年由WHATWG提出。2008年1月22日，第一份正式草案发布。WHATWG表示该规范是目前仍在进行的工作，仍须多年的努力。[8]目前Mozilla Firefox、Google Chrome、Opera、Safari（版本4以上）、Internet Explorer（版本9以上）已支持HTML5技术。</p>
      <p>2014年10月28日，W3C正式发布HTML5.0推荐标准。</p>
      <img src="docs/img/slide1.jpg" alt="">
      <h3>标准化进程</h3>
      <p>2004年6月，Mozilla基金会和Opera软件公司在万维网联盟（W3C）所主办的研讨会上提出了一份联合建议书，这份提案主要针对该技术能向下兼容浏览器的同时，也可以扩展更多新技术[17]，其中Web Forms 2.0初步规范草案被提出，但因W3C已着力于XHTML的发展，故此建议书于8票赞成，14票反对下被否决[18]，这引起部分人的不满，不久后，一些厂商宣布成立网页超文本技术工作小组（WHATWG）组织，以继续推动该规范的开发工作，该组织再度提出Web Applications 1.0规范草案，后来这两种规范逐渐合并成今天的HTML5。2007年，获得W3C接纳，并成立了新的HTML工作团队。</p>
      <h3>2014计划</h3>
      <p>2012年9月，W3C提出计划要在2014年底前发布一个HTML5推荐标准，并在2016年底前发布HTML5.1推荐标准。</p>
      <h4>核心HTML标准</h4>
      <p>HTML5.0，HTML5.1和HTML5.2的合并时间表：</p>
      <table>
        <thead>
          <tr>
            <th></th>
            <th>2012</th>
            <th>2013</th>
            <th>2014</th>
            <th>2015</th>
            <th>2016</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>HTML 5.0</td>
            <td>候选版</td>
            <td>征求评价</td>
            <td>推荐标准</td>
            <td></td>
            <td></td>
          </tr>
          <tr>
            <td>HTML 5.1</td>
            <td>第一工作草案</td>
            <td></td>
            <td>最后召集</td>
            <td>候选版</td>
            <td>推荐标准</td>
          </tr>
          <tr>
            <td>HTML 5.2</td>
            <td></td>
            <td></td>
            <td></td>
            <td>第一工作草案</td>
            <td></td>
          </tr>
        </tbody>
      </table>
      <h2>新应用程序接口（API）</h2>
      <p>除了原先的DOM接口，HTML5增加了更多样化的应用程序接口（API）：</p>
      <ul>
        <li>
          即时二维绘图
          <ul>
            <li>Canvas API：有关动态产出与渲染图形、图表、图像和动画的API</li>
          </ul>
        </li>
        <li>定时媒体播放</li>
        <li>离线存储数据库（离线网络应用程序）</li>
        <li>编辑</li>
        <li>拖放</li>
      </ul>
    </section>
    <footer contenteditable="true">
      <p class="pull-right text-muted">本文在知识共享 署名-相同方式共享 3.0协议之条款下提供。</p>
      <p class="text-important">本文节选自 Wikipedia HTML5 词条。</p>
      <ul class="pager pager-justify">
        <li class="previous"><a target="_blank" href="https://zh.wikipedia.org/wiki/Category:HTML"><i class="icon-arrow-left"></i> HTML</a></li>
        <li class="next disabled"><a target="_blank" href="https://zh.wikipedia.org/wiki/Category:W3C%E6%A0%87%E5%87%86">W3C 标准 <i class="icon-arrow-right"></i></a></li>
      </ul>
    </footer>
  </article>
</div><pre class="pre-scrollable linenums prettyprint prettyprinted" style=""><ol class="linenums"><li class="L0"><code class="lang-html"><span class="tag">&lt;article</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"article article-condensed"</span><span class="tag">&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;header&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;dl</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"dl-inline pull-right"</span><span class="tag">&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dt&gt;</span><span class="pln">来源：</span><span class="tag">&lt;/dt&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dd&gt;</span><span class="pln">维基百科</span><span class="tag">&lt;/dd&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dt&gt;</span><span class="pln">最后修订：</span><span class="tag">&lt;/dt&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dd&gt;</span><span class="pln">2016年8月12日 (星期五) 12:53</span><span class="tag">&lt;/dd&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dt&gt;&lt;/dt&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;dd</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"pull-right"</span><span class="tag">&gt;&lt;span</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"label label-success"</span><span class="tag">&gt;</span><span class="pln">HTML</span><span class="tag">&lt;/span&gt;</span><span class="pln"> </span><span class="tag">&lt;span</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"label label-warning"</span><span class="tag">&gt;</span><span class="pln">网页设计</span><span class="tag">&lt;/span&gt;</span><span class="pln"> </span><span class="tag">&lt;span</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"label label-info"</span><span class="tag">&gt;</span><span class="pln">W3C</span><span class="tag">&lt;/span&gt;</span><span class="pln"> </span><span class="tag">&lt;span</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"label label-danger"</span><span class="tag">&gt;&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"icon-eye-open"</span><span class="tag">&gt;&lt;/i&gt;</span><span class="pln"> 235</span><span class="tag">&lt;/span&gt;&lt;/dd&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/dl&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h1&gt;</span><span class="pln">HTML5</span><span class="tag">&lt;/h1&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;section</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"abstract"</span><span class="tag">&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;p&gt;&lt;strong&gt;</span><span class="pln">摘要：</span><span class="tag">&lt;/strong&gt;</span><span class="pln">HTML5是HTML最新的修订版本，2014年10月由万维网联盟（W3C）完成标准制定。目标是替换1999年所制定的HTML 4.01和XHTML 1.0标准，以期能在互联网应用迅速发展的时候，使网络标准达到匹配当代的网络需求。广义论及HTML5时，实际指的是包括HTML、CSS和JavaScript在内的一套技术组合。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/section&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;/header&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;section</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"content"</span><span class="tag">&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">HTML5是HTML最新的修订版本，2014年10月由</span><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"https://zh.wikipedia.org/wiki/%E4%B8%87%E7%BB%B4%E7%BD%91%E8%81%94%E7%9B%9F"</span><span class="pln"> </span><span class="atn">target</span><span class="pun">=</span><span class="atv">"_blank"</span><span class="tag">&gt;</span><span class="pln">万维网联盟</span><span class="tag">&lt;/a&gt;</span><span class="pln">（W3C）完成标准制定。目标是替换1999年所制定的HTML 4.01和XHTML 1.0标准，以期能在互联网应用迅速发展的时候，使网络标准达到匹配当代的网络需求。广义论及HTML5时，实际指的是包括HTML、CSS和JavaScript在内的一套技术组合。它希望能够减少网页浏览器对于需要插件的丰富性网络应用服务（Plug-in-Based Rich Internet Application，RIA），例如：AdobeFlash、Microsoft Silverlight与Oracle JavaFX的需求，并且提供更多能有效加强网络应用的标准集。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;blockquote&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;p&gt;</span><span class="pln">具体来说，HTML5添加了许多新的语法特征，其中包括 `</span><span class="tag">&lt;video&gt;</span><span class="pln">`、`</span><span class="tag">&lt;audio&gt;</span><span class="pln">` 和 `</span><span class="tag">&lt;canvas&gt;</span><span class="pln">` 元素，同时集成了SVG内容。这些元素是为了更容易的在网页中添加和处理多媒体和图片内容而添加的。其它新的元素如 `</span><span class="tag">&lt;section&gt;</span><span class="pln">`、`</span><span class="tag">&lt;article&gt;</span><span class="pln">`、`</span><span class="tag">&lt;header&gt;</span><span class="pln">` 和 `</span><span class="tag">&lt;nav&gt;</span><span class="pln">` 则是为了丰富文档的数据内容。新的属性的添加也是为了同样的目的。同时也有一些属性和元素被移除掉了。一些元素，像 `</span><span class="tag">&lt;a&gt;</span><span class="pln">`、`</span><span class="tag">&lt;cite&gt;</span><span class="pln">` 和 `</span><span class="tag">&lt;menu&gt;</span><span class="pln">` 被修改，重新定义或标准化了。同时APIs和DOM已经成为HTML5中的基础部分了。HTML5还定义了处理非法文档的具体细节，使得所有浏览器和客户端程序能够一致地处理语法错误。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/blockquote&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h2&gt;</span><span class="pln">发展历史</span><span class="tag">&lt;/h2&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">HTML 5草案的前身名为Web Applications 1.0，是在2004年由WHATWG提出。2008年1月22日，第一份正式草案发布。WHATWG表示该规范是目前仍在进行的工作，仍须多年的努力。[8]目前Mozilla Firefox、Google Chrome、Opera、Safari（版本4以上）、Internet Explorer（版本9以上）已支持HTML5技术。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">2014年10月28日，W3C正式发布HTML5.0推荐标准。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;img</span><span class="pln"> </span><span class="atn">src</span><span class="pun">=</span><span class="atv">"docs/img/slide1.jpg"</span><span class="pln"> </span><span class="atn">alt</span><span class="pun">=</span><span class="atv">""</span><span class="tag">&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h3&gt;</span><span class="pln">标准化进程</span><span class="tag">&lt;/h3&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">2004年6月，Mozilla基金会和Opera软件公司在万维网联盟（W3C）所主办的研讨会上提出了一份联合建议书，这份提案主要针对该技术能向下兼容浏览器的同时，也可以扩展更多新技术[17]，其中Web Forms 2.0初步规范草案被提出，但因W3C已着力于XHTML的发展，故此建议书于8票赞成，14票反对下被否决[18]，这引起部分人的不满，不久后，一些厂商宣布成立网页超文本技术工作小组（WHATWG）组织，以继续推动该规范的开发工作，该组织再度提出Web Applications 1.0规范草案，后来这两种规范逐渐合并成今天的HTML5。2007年，获得W3C接纳，并成立了新的HTML工作团队。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h3&gt;</span><span class="pln">2014计划</span><span class="tag">&lt;/h3&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">2012年9月，W3C提出计划要在2014年底前发布一个HTML5推荐标准，并在2016年底前发布HTML5.1推荐标准。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h4&gt;</span><span class="pln">核心HTML标准</span><span class="tag">&lt;/h4&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">HTML5.0，HTML5.1和HTML5.2的合并时间表：</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;table&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;thead&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;tr&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;&lt;/th&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2012</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2013</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2014</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2015</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;th&gt;</span><span class="pln">2016</span><span class="tag">&lt;/th&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/tr&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;/thead&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;tbody&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;tr&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">HTML 5.0</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">候选版</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">征求评价</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">推荐标准</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/tr&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;tr&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">HTML 5.1</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">第一工作草案</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">最后召集</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">候选版</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">推荐标准</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/tr&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;tr&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">HTML 5.2</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;</span><span class="pln">第一工作草案</span><span class="tag">&lt;/td&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;td&gt;&lt;/td&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/tr&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;/tbody&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/table&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;h2&gt;</span><span class="pln">新应用程序接口（API）</span><span class="tag">&lt;/h2&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p&gt;</span><span class="pln">除了原先的DOM接口，HTML5增加了更多样化的应用程序接口（API）：</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;ul&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">        即时二维绘图</span></code></li><li class="L3"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;ul&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">          </span><span class="tag">&lt;li&gt;</span><span class="pln">Canvas API：有关动态产出与渲染图形、图表、图像和动画的API</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">        </span><span class="tag">&lt;/ul&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;/li&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span><span class="pln">定时媒体播放</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span><span class="pln">离线存储数据库（离线网络应用程序）</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span><span class="pln">编辑</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li&gt;</span><span class="pln">拖放</span><span class="tag">&lt;/li&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/ul&gt;</span></code></li><li class="L2"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;/section&gt;</span></code></li><li class="L3"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;footer&gt;</span></code></li><li class="L4"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"pull-right text-muted"</span><span class="tag">&gt;</span><span class="pln">本文在知识共享 署名-相同方式共享 3.0协议之条款下提供。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L5"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;p</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"text-important"</span><span class="tag">&gt;</span><span class="pln">本文节选自 Wikipedia HTML5 词条。</span><span class="tag">&lt;/p&gt;</span></code></li><li class="L6"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"pager pager-justify"</span><span class="tag">&gt;</span></code></li><li class="L7"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"previous"</span><span class="tag">&gt;&lt;a</span><span class="pln"> </span><span class="atn">target</span><span class="pun">=</span><span class="atv">"_blank"</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"https://zh.wikipedia.org/wiki/Category:HTML"</span><span class="tag">&gt;&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"icon-arrow-left"</span><span class="tag">&gt;&lt;/i&gt;</span><span class="pln"> HTML</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></code></li><li class="L8"><code class="lang-html"><span class="pln">      </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"next disabled"</span><span class="tag">&gt;&lt;a</span><span class="pln"> </span><span class="atn">target</span><span class="pun">=</span><span class="atv">"_blank"</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"https://zh.wikipedia.org/wiki/Category:W3C%E6%A0%87%E5%87%86"</span><span class="tag">&gt;</span><span class="pln">W3C 标准 </span><span class="tag">&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"icon-arrow-right"</span><span class="tag">&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;</span></code></li><li class="L9"><code class="lang-html"><span class="pln">    </span><span class="tag">&lt;/ul&gt;</span></code></li><li class="L0"><code class="lang-html"><span class="pln">  </span><span class="tag">&lt;/footer&gt;</span></code></li><li class="L1"><code class="lang-html"><span class="tag">&lt;/article&gt;</span></code></li></ol></pre><div class="alert with-icon">
  <i class="icon-smile"></i>
  <div class="content">
    <p>非常感谢 <a class="alert-link" href="http://weibo.com/snowinfish" target="_blank">@snowinfish</a> 为本章节提供演示所用的全部图片。</p>
    <p class="margin-zero">图片仅供 ZUI 演示使用，未经作者授权，不得用作他用。</p>
  </div>
</div></article></section></div>


</section>
{/block}